<div class="content">
<div class="head-content">
    <?php Yii::import('application.extensions.CJuiDateTimePicker.CJuiDateTimePicker') ?> 
    <h1><?php echo $this->id . '/' . $this->action->id; ?></h1>
    <label><font color="white">
        
        <?php
        $form = $this->beginWidget('CActiveForm', array(
            'id' => 'cctvrequestvideo-form',
            // Please note: When you enable ajax validation, make sure the corresponding
            // controller action is handling ajax validation correctly.
            // There is a call to performAjaxValidation() commented in generated controller code.
            // See class documentation of CActiveForm for details on this.
            'enableAjaxValidation' => false,
        ));
        ?>
        
        
</div>
<div class="colloum-wrape">
    <p class="note">Fields with <span class="required">*</span> are required.</p>

<?php echo $form->errorSummary($model); ?>
    <table>

        <tr>
            <td><?php echo $form->labelEx($model, 'computername', array('style' => 'color:white')); ?></td>
            <td>: <?php echo CHtml::activeTextField($model, 'computername', array('id' => 'txt_ComputerName', 'size' => 11, 'value' => 'KRISOPRAS')); ?></td>
            <td><?php echo $form->error($model, 'computername'); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->labelEx($model, 'cameraname', array('style' => 'color:white')); ?></td>
            <td>: <?php echo CHtml::activeTextField($model, 'cameraname', array('id' => 'txt_CameraName', 'size' => 11, 'value' => 'CAMERA01')); ?></td>
            <td><?php echo $form->error($model, 'cameraname'); ?></td>
        </tr>
        <tr>
            <td><?php echo $form->labelEx($model, 'startfrom', array('style' => 'color:white')); ?></td>
            <td>:
                <?php
                $this->widget('CJuiDateTimePicker', array(
                    'model' => $model, //Model object 
                    'attribute' => 'startfrom', //attribute name 
                    'mode' => 'datetime', //use "time","date" or "datetime" (default) 
                    'options' => array(
                        'showAnim' => 'fold',
                        'dateFormat' => 'yy-mm-dd', // save to db format 
                        'timeFormat' => 'hh:mm:ss', // save to db format 
                    ), // jquery plugin options 
                    'language' => 'id'));
                ?>
            </td>
            <td><?php echo $form->error($model, 'startfrom'); ?></td>
        </tr>
<?php echo CHtml::activeTextField($model, 'requestid', array('id' => 'txt_CredentialName', 'style' => 'visibility: hidden', 'value' => 1)); ?>
<?php echo CHtml::activeTextField($model, 'credentialname', array('id' => 'txt_CredentialName', 'style' => 'visibility: hidden', 'value' => Yii::app()->user->name)); ?>
<?php echo CHtml::activeCheckBox($model, 'isactive', array('id' => 'cb_isActive', 'style' => 'visibility: hidden', 'checked' => TRUE)); ?>

        <tr>
            <td></td>
            <td></td>
            <td colspan="1">
                <div class="row buttons">
                    <?php echo CHtml::submitButton('Play'); ?>
                </div>
            </td>
        </tr>
    </table>

<?php $this->endWidget(); ?>
</div>
</div>